home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.0 for Developers
/
QuickTime 1.0 for Developers.iso
/
Goodies
/
GrabGuy
/
GrabGuy 1.0a1
/
GrabGuy 1.0a1.rsrc
/
CODE_27_MAMiniInit.txt
< prev
next >
Wrap
Text File
|
1991-09-05
|
42KB
|
742 lines
# near model CODE resource
# jump table entries: 10240-10243 (4 of them)
export_1280:
00000000 4E56 0000 link A6, 0
00000004 102D F8BC move.b D0, [A5 - 0x744]
00000008 6708 beq +0xA /* 00000012 */
0000000A 42A7 clr.l -[A7]
0000000C 42A7 clr.l -[A7]
0000000E F21F 9800 .fmove(m) 0xF21F, 0x9800 // unimplemented
label00000012:
00000012 4EBA 0774 jsr [PC + 0x774 /* 00000788 */]
00000016 7000 moveq.l D0, 0x00
00000018 2B40 F89C move.l [A5 - 0x764], D0
0000001C 2B40 F354 move.l [A5 - 0xCAC], D0
00000020 422D F824 clr.b [A5 - 0x7DC]
00000024 422D F344 clr.b [A5 - 0xCBC]
00000028 2F2D F8E8 move.l -[A7], [A5 - 0x718]
0000002C 4EAD 193A jsr [A5 + 0x193A /* export_803 */]
00000030 4E5E unlink A6
00000032 4E75 rts
export_1281:
00000034 4E56 FFFC link A6, -0x0004
00000038 2F0C move.l -[A7], A4
0000003A 486D FA92 pea.l [A5 - 0x56E]
0000003E A86E syscall InitGraf
00000040 A8FE syscall InitFonts
00000042 A912 syscall InitWindows
00000044 2F3C 0000 7F7F move.l -[A7], 0x7F7F
0000004A 201F move.l D0, [A7]+
0000004C A032 syscall FlushEvents
0000004E A930 syscall InitMenus
00000050 A9CC syscall TEInit
00000052 42A7 clr.l -[A7]
00000054 A97B syscall InitDialogs
00000056 42A7 clr.l -[A7]
00000058 3F3C 0004 move.w -[A7], 0x4
0000005C A9B9 syscall GetCursor
0000005E 285F movea.l A4, [A7]+
00000060 A850 syscall InitCursor
00000062 200C move.l D0, A4
00000064 6704 beq +0x6 /* 0000006A */
00000066 2F14 move.l -[A7], [A4]
00000068 A851 syscall SetCursor
label0000006A:
0000006A 486D F8B4 pea.l [A5 - 0x74C]
0000006E 4EBA 0104 jsr [PC + 0x104 /* 00000174 */]
00000072 7000 moveq.l D0, 0x00
00000074 2B40 F8D0 move.l [A5 - 0x730], D0
00000078 2B40 F8A8 move.l [A5 - 0x758], D0
0000007C 486D F8F4 pea.l [A5 - 0x70C]
00000080 42A7 clr.l -[A7]
00000082 4267 clr.w -[A7]
00000084 4EAD 1AAA jsr [A5 + 0x1AAA /* export_849 */]
00000088 486D F8EC pea.l [A5 - 0x714]
0000008C 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
00000092 3F3C FFFF move.w -[A7], 0xFFFF
00000096 4EAD 1AAA jsr [A5 + 0x1AAA /* export_849 */]
0000009A 42A7 clr.l -[A7]
0000009C 70FF moveq.l D0, 0xFFFFFFFF
0000009E 2F00 move.l -[A7], D0
000000A0 4EAD 0362 jsr [A5 + 0x362 /* export_104 */]
000000A4 2B5F F898 move.l [A5 - 0x768], [A7]+
000000A8 42A7 clr.l -[A7]
000000AA A8D8 syscall NewRgn
000000AC 2B5F F8E8 move.l [A5 - 0x718], [A7]+
000000B0 102D F8C7 move.b D0, [A5 - 0x739]
000000B4 670C beq +0xE /* 000000C2 */
000000B6 4267 clr.w -[A7]
000000B8 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
000000BC 3B5F F8D4 move.w [A5 - 0x72C], [A7]+
000000C0 6018 bra +0x1A /* 000000DA */
label000000C2:
000000C2 102D F8C4 move.b D0, [A5 - 0x73C]
000000C6 670C beq +0xE /* 000000D4 */
000000C8 4267 clr.w -[A7]
000000CA 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
000000CE 3B5F F8D4 move.w [A5 - 0x72C], [A7]+
000000D2 6006 bra +0x8 /* 000000DA */
label000000D4:
000000D4 3B7C 0014 F8D4 move.w [A5 - 0x72C], 0x14
label000000DA:
000000DA 41ED F8DE lea.l A0, [A5 - 0x722]
000000DE 43FA 0036 lea.l A1, [PC + 0x36 /* 00000116, value 0x4545255, pstring "TRUE" */]
000000E2 20D9 move.l [A0]+, [A1]+
000000E4 3091 move.w [A0], [A1]
000000E6 41ED F8D8 lea.l A0, [A5 - 0x728]
000000EA 43FA 0024 lea.l A1, [PC + 0x24 /* 00000110, value 0x546414C, pstring "FALSE" */]
000000EE 20D9 move.l [A0]+, [A1]+
000000F0 3091 move.w [A0], [A1]
000000F2 422D F8A0 clr.b [A5 - 0x760]
000000F6 1B6D F8A0 F8A4 move.b [A5 - 0x75C], [A5 - 0x760]
000000FC 4267 clr.w -[A7]
000000FE A994 syscall CurResFile
00000100 3B5F F8AC move.w [A5 - 0x754], [A7]+
00000104 1B7C 0001 F88C move.b [A5 - 0x774], 0x1
0000010A 285F movea.l A4, [A7]+
0000010C 4E5E unlink A6
0000010E 4E75 rts
00000110 0546 bchg D6, D2
00000112 414C chk.w D0, A4
00000114 5345 subq.w D5, 1
00000116 0454 5255 subi.w [A4], 0x5255 /* 'RU' */
0000011A 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
export_1282:
0000011C 4E56 FFE2 link A6, -0x001E
00000120 2F07 move.l -[A7], D7
00000122 206E 0008 movea.l A0, [A6 + 0x8]
00000126 43EE FFE4 lea.l A1, [A6 - 0x1C]
0000012A 7006 moveq.l D0, 0x06
label0000012C:
0000012C 22D8 move.l [A1]+, [A0]+
0000012E 51C8 FFFC dbf D0, -0x6 /* 0000012C */
00000132 7E01 moveq.l D7, 0x01
00000134 1007 move.b D0, D7
00000136 6704 beq +0x6 /* 0000013C */
00000138 C02E FFF7 and.b D0, [A6 - 0x9]
label0000013C:
0000013C 1E00 move.b D7, D0
0000013E 6704 beq +0x6 /* 00000144 */
00000140 C02E FFF4 and.b D0, [A6 - 0xC]
label00000144:
00000144 1E00 move.b D7, D0
00000146 6704 beq +0x6 /* 0000014C */
00000148 C02E FFF6 and.b D0, [A6 - 0xA]
label0000014C:
0000014C 1E00 move.b D7, D0
0000014E 6704 beq +0x6 /* 00000154 */
00000150 C02E FFF8 and.b D0, [A6 - 0x8]
label00000154:
00000154 1E00 move.b D7, D0
00000156 6704 beq +0x6 /* 0000015C */
00000158 C02E FFFA and.b D0, [A6 - 0x6]
label0000015C:
0000015C 1E00 move.b D7, D0
0000015E 102E FFFD move.b D0, [A6 - 0x3]
00000162 6704 beq +0x6 /* 00000168 */
00000164 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
label00000168:
00000168 1D47 000C move.b [A6 + 0xC], D7
0000016C 2E1F move.l D7, [A7]+
0000016E 4E5E unlink A6
00000170 2E9F move.l [A7], [A7]+
00000172 4E75 rts
fn00000174:
00000174 4E56 FFFA link A6, -0x0006
00000178 48E7 0118 movem.l -[A7], D7,A3,A4
0000017C 266E 0008 movea.l A3, [A6 + 0x8]
00000180 2F3C 0001 0000 move.l -[A7], 0x10000
00000186 2F0B move.l -[A7], A3
00000188 4EAD 0342 jsr [A5 + 0x342 /* export_100 */]
0000018C 3E1F move.w D7, [A7]+
0000018E 286E 0008 movea.l A4, [A6 + 0x8]
00000192 7000 moveq.l D0, 0x00
00000194 2F00 move.l -[A7], D0
00000196 4267 clr.w -[A7]
00000198 3EB8 0B22 move.w [A7], [0x00000B22 /* HWCfgFlags */]
0000019C 321F move.w D1, [A7]+
0000019E 201F move.l D0, [A7]+
000001A0 3001 move.w D0, D1
000001A2 C0BC 0000 0400 and.l D0, 0x400
000001A8 4A80 tst.l D0
000001AA 5EC0 sgt D0
000001AC 4400 neg.b D0
000001AE 1940 0018 move.b [A4 + 0x18], D0
000001B2 7000 moveq.l D0, 0x00
000001B4 2F00 move.l -[A7], D0
000001B6 4267 clr.w -[A7]
000001B8 3EB8 0B22 move.w [A7], [0x00000B22 /* HWCfgFlags */]
000001BC 321F move.w D1, [A7]+
000001BE 201F move.l D0, [A7]+
000001C0 3001 move.w D0, D1
000001C2 C0BC FFFF 8000 and.l D0, 0xFFFF8000
000001C8 4A80 tst.l D0
000001CA 5EC0 sgt D0
000001CC 4400 neg.b D0
000001CE 1940 0017 move.b [A4 + 0x17], D0
000001D2 7000 moveq.l D0, 0x00
000001D4 2F00 move.l -[A7], D0
000001D6 4267 clr.w -[A7]
000001D8 3EB8 0B22 move.w [A7], [0x00000B22 /* HWCfgFlags */]
000001DC 321F move.w D1, [A7]+
000001DE 201F move.l D0, [A7]+
000001E0 3001 move.w D0, D1
000001E2 C0BC 0000 0200 and.l D0, 0x200
000001E8 4A80 tst.l D0
000001EA 5EC0 sgt D0
000001EC 4400 neg.b D0
000001EE 1940 0019 move.b [A4 + 0x19], D0
000001F2 70FF moveq.l D0, 0xFFFFFFFF
000001F4 B06C 0002 cmp.w D0, [A4 + 0x2]
000001F8 5DC0 slt D0
000001FA 4400 neg.b D0
000001FC 1940 0010 move.b [A4 + 0x10], D0
00000200 6708 beq +0xA /* 0000020A */
00000202 197C 0001 0011 move.b [A4 + 0x11], 0x1
00000208 6010 bra +0x12 /* 0000021A */
label0000020A:
0000020A 4267 clr.w -[A7]
0000020C 3EB8 03F6 move.w [A7], [0x000003F6 /* FSFCBLen */]
00000210 4A5F tst.w [A7]+
00000212 5EC0 sgt D0
00000214 4400 neg.b D0
00000216 1940 0011 move.b [A4 + 0x11], D0
label0000021A:
0000021A 102C 0010 move.b D0, [A4 + 0x10]
0000021E 6712 beq +0x14 /* 00000232 */
00000220 2F00 move.l -[A7], D0
00000222 2F3C A80B 0000 move.l -[A7], 0xA80B0000
00000228 4EAD 1ABA jsr [A5 + 0x1ABA /* export_851 */]
0000022C 121F move.b D1, [A7]+
0000022E 201F move.l D0, [A7]+
00000230 C001 and.b D0, D1
label00000232:
00000232 1940 0012 move.b [A4 + 0x12], D0
00000236 102C 0010 move.b D0, [A4 + 0x10]
0000023A 6712 beq +0x14 /* 0000024E */
0000023C 2F00 move.l -[A7], D0
0000023E 2F3C A8B5 0000 move.l -[A7], 0xA8B50000
00000244 4EAD 1ABA jsr [A5 + 0x1ABA /* export_851 */]
00000248 121F move.b D1, [A7]+
0000024A 201F move.l D0, [A7]+
0000024C C001 and.b D0, D1
label0000024E:
0000024E 1940 0013 move.b [A4 + 0x13], D0
00000252 0C6C 0600 0004 cmpi.w [A4 + 0x4], 0x600
00000258 5CC0 sge D0
0000025A 4400 neg.b D0
0000025C 1940 0014 move.b [A4 + 0x14], D0
00000260 102C 0010 move.b D0, [A4 + 0x10]
00000264 6712 beq +0x14 /* 00000278 */
00000266 2F00 move.l -[A7], D0
00000268 2F3C A803 0000 move.l -[A7], 0xA8030000
0000026E 4EAD 1ABA jsr [A5 + 0x1ABA /* export_851 */]
00000272 121F move.b D1, [A7]+
00000274 201F move.l D0, [A7]+
00000276 C001 and.b D0, D1
label00000278:
00000278 1940 0015 move.b [A4 + 0x15], D0
0000027C 102C 0010 move.b D0, [A4 + 0x10]
00000280 6712 beq +0x14 /* 00000294 */
00000282 2F00 move.l -[A7], D0
00000284 2F3C A860 0000 move.l -[A7], 0xA8600000
0000028A 4EAD 1ABA jsr [A5 + 0x1ABA /* export_851 */]
0000028E 121F move.b D1, [A7]+
00000290 201F move.l D0, [A7]+
00000292 C001 and.b D0, D1
label00000294:
00000294 1940 0016 move.b [A4 + 0x16], D0
00000298 2F3C A88F 0000 move.l -[A7], 0xA88F0000
0000029E 4EAD 1ABA jsr [A5 + 0x1ABA /* export_851 */]
000002A2 195F 001A move.b [A4 + 0x1A], [A7]+
000002A6 2F3C AB03 0000 move.l -[A7], 0xAB030000
000002AC 4EAD 1ABA jsr [A5 + 0x1ABA /* export_851 */]
000002B0 195F 001B move.b [A4 + 0x1B], [A7]+
000002B4 4CDF 1880 movem.l D7,A3,A4, [A7]+
000002B8 4E5E unlink A6
000002BA 2E9F move.l [A7], [A7]+
000002BC 4E75 rts
000002BE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000002C0-000002C8
fn000002C0:
000002C0 4E56 FEF0 link A6, -0x0110
000002C4 48E7 0308 movem.l -[A7], D6,D7,A4
// end alternate branch 000002C0-000002C8
fn000002C0: // (misaligned)
000002C2 FEF0 48E7 .extension 0xEF0 <<F/2-3/7>> // unimplemented
000002C6 0308 btst A0, D1
000002C8 4267 clr.w -[A7]
000002CA 1EB8 0A5E move.b [A7], [0x00000A5E /* ResLoad */]
000002CE 1C1F move.b D6, [A7]+
000002D0 4267 clr.w -[A7]
000002D2 A99B syscall SetResLoad
000002D4 4267 clr.w -[A7]
000002D6 2F2E 000C move.l -[A7], [A6 + 0xC]
000002DA A99C syscall CountResources
000002DC 3D5F FEF0 move.w [A6 - 0x110], [A7]+
000002E0 7E01 moveq.l D7, 0x01
000002E2 6050 bra +0x52 /* 00000334 */
label000002E4:
000002E4 42A7 clr.l -[A7]
000002E6 2F2E 000C move.l -[A7], [A6 + 0xC]
000002EA 3F07 move.w -[A7], D7
000002EC A99D syscall GetIndResource
000002EE 285F movea.l A4, [A7]+
000002F0 2F0C move.l -[A7], A4
000002F2 486E FFF6 pea.l [A6 - 0xA]
000002F6 486E FFF2 pea.l [A6 - 0xE]
000002FA 486E FEF2 pea.l [A6 - 0x10E]
000002FE A9A8 syscall GetResInfo
00000300 4267 clr.w -[A7]
00000302 4EAD 1ACA jsr [A5 + 0x1ACA /* export_853 */]
00000306 42A7 clr.l -[A7]
00000308 2F2E 000C move.l -[A7], [A6 + 0xC]
0000030C 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00000310 A9A0 syscall GetResource
00000312 285F movea.l A4, [A7]+
00000314 4267 clr.w -[A7]
00000316 4EAD 1ACA jsr [A5 + 0x1ACA /* export_853 */]
0000031A 4267 clr.w -[A7]
0000031C 2F0C move.l -[A7], A4
0000031E A9A4 syscall HomeResFile
00000320 7001 moveq.l D0, 0x01
00000322 B05F cmp.w D0, [A7]+
00000324 670A beq +0xC /* 00000330 */
00000326 2F0C move.l -[A7], A4
00000328 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000032C 4EBA 001E jsr [PC + 0x1E /* 0000034C */]
label00000330:
00000330 5247 addq.w D7, 1
00000332 6906 bvs +0x8 /* 0000033A */
label00000334:
00000334 BE6E FEF0 cmp.w D7, [A6 - 0x110]
00000338 6FAA ble -0x54 /* 000002E4 */
label0000033A:
0000033A 1F06 move.b -[A7], D6
0000033C A99B syscall SetResLoad
0000033E 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000342 4E5E unlink A6
00000344 205F movea.l A0, [A7]+
00000346 504F addq.w A7, 8
00000348 4ED0 jmp [A0]
0000034A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000034C-00000350
fn0000034C:
0000034C 4E56 FFFC link A6, -0x0004
// end alternate branch 0000034C-00000350
fn0000034C: // (misaligned)
0000034E FFFC .invalid <<F/7/7>>
00000350 42A7 clr.l -[A7]
00000352 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000356 42A7 clr.l -[A7]
00000358 42A7 clr.l -[A7]
0000035A 42A7 clr.l -[A7]
0000035C 486E 000C pea.l [A6 + 0xC]
00000360 7004 moveq.l D0, 0x04
00000362 2F00 move.l -[A7], D0
00000364 A9E0 syscall Munger
00000366 2D5F FFFC move.l [A6 - 0x4], [A7]+
0000036A 4EAD 192A jsr [A5 + 0x192A /* export_801 */]
0000036E 4E5E unlink A6
00000370 205F movea.l A0, [A7]+
00000372 504F addq.w A7, 8
00000374 4ED0 jmp [A0]
00000376 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000378-00000380
fn00000378:
00000378 4E56 FEF0 link A6, -0x0110
0000037C 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
// end alternate branch 00000378-00000380
fn00000378: // (misaligned)
0000037A FEF0 48E7 .extension 0xEF0 <<F/2-3/7>> // unimplemented
0000037E 0F18 btst [A0]+, D7
00000380 282E 0008 move.l D4, [A6 + 0x8]
00000384 2F04 move.l -[A7], D4
00000386 4EAD 00BA jsr [A5 + 0xBA /* export_19 */]
0000038A 4267 clr.w -[A7]
0000038C 1EB8 0A5E move.b [A7], [0x00000A5E /* ResLoad */]
00000390 1A1F move.b D5, [A7]+
00000392 4267 clr.w -[A7]
00000394 A99B syscall SetResLoad
00000396 2044 movea.l A0, D4
00000398 2850 movea.l A4, [A0]
0000039A 3C14 move.w D6, [A4]
0000039C 548C addq.l A4, 2
0000039E 7E00 moveq.l D7, 0x00
label000003A0:
000003A0 4A46 tst.w D6
000003A2 6F48 ble +0x4A /* 000003EC */
000003A4 2F0C move.l -[A7], A4
000003A6 486E FEF0 pea.l [A6 - 0x110]
000003AA 1014 move.b D0, [A4]
000003AC 4880 ext.w D0
000003AE 5240 addq.w D0, 1
000003B0 48C0 ext.l D0
000003B2 2F00 move.l -[A7], D0
000003B4 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
000003B8 1014 move.b D0, [A4]
000003BA 4880 ext.w D0
000003BC 48C0 ext.l D0
000003BE D08C add.l D0, A4
000003C0 2840 movea.l A4, D0
000003C2 528C addq.l A4, 1
000003C4 5346 subq.w D6, 1
000003C6 42A7 clr.l -[A7]
000003C8 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
000003CE 486E FEF0 pea.l [A6 - 0x110]
000003D2 4EAD 1B5A jsr [A5 + 0x1B5A /* export_871 */]
000003D6 265F movea.l A3, [A7]+
000003D8 200B move.l D0, A3
000003DA 67C4 beq -0x3A /* 000003A0 */
000003DC 42A7 clr.l -[A7]
000003DE 2F0B move.l -[A7], A3
000003E0 A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc
000003E2 201F move.l D0, [A7]+
000003E4 D087 add.l D0, D7
000003E6 2E00 move.l D7, D0
000003E8 5087 addq.l D7, 8
000003EA 60B4 bra -0x4A /* 000003A0 */
label000003EC:
000003EC 2D47 000C move.l [A6 + 0xC], D7
000003F0 1F05 move.b -[A7], D5
000003F2 A99B syscall SetResLoad
000003F4 2F04 move.l -[A7], D4
000003F6 205F movea.l A0, [A7]+
000003F8 A02A syscall HUnlock
000003FA 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
000003FE 4E5E unlink A6
00000400 2E9F move.l [A7], [A7]+
00000402 4E75 rts
export_1283:
00000404 4E56 FEDA link A6, -0x0126
00000408 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000040C 422D F900 clr.b [A5 - 0x700]
00000410 42A7 clr.l -[A7]
00000412 42A7 clr.l -[A7]
00000414 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
00000418 2B57 F948 move.l [A5 - 0x6B8], [A7]
0000041C 4EAD 193A jsr [A5 + 0x193A /* export_803 */]
00000420 7000 moveq.l D0, 0x00
00000422 2B40 F920 move.l [A5 - 0x6E0], D0
00000426 42A7 clr.l -[A7]
00000428 42A7 clr.l -[A7]
0000042A 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
0000042E 2B57 F934 move.l [A5 - 0x6CC], [A7]
00000432 4EAD 193A jsr [A5 + 0x193A /* export_803 */]
00000436 7000 moveq.l D0, 0x00
00000438 2B40 F908 move.l [A5 - 0x6F8], D0
0000043C 2B40 F91C move.l [A5 - 0x6E4], D0
00000440 1B7C 0001 F910 move.b [A5 - 0x6F0], 0x1
00000446 422D F90C clr.b [A5 - 0x6F4]
0000044A 1B7C 0001 F914 move.b [A5 - 0x6EC], 0x1
00000450 4267 clr.w -[A7]
00000452 42A7 clr.l -[A7]
00000454 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
0000045A 3F3C 0001 move.w -[A7], 0x1
0000045E A9A0 syscall GetResource
00000460 A9A4 syscall HomeResFile
00000462 3B5F F950 move.w [A5 - 0x6B0], [A7]+
00000466 426D F954 clr.w [A5 - 0x6AC]
0000046A 4267 clr.w -[A7]
0000046C 1EB8 0A5E move.b [A7], [0x00000A5E /* ResLoad */]
00000470 1A1F move.b D5, [A7]+
00000472 4267 clr.w -[A7]
00000474 A99B syscall SetResLoad
00000476 4267 clr.w -[A7]
00000478 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
0000047E 4EAD 1B6A jsr [A5 + 0x1B6A /* export_873 */]
00000482 3D5F FEE8 move.w [A6 - 0x118], [A7]+
00000486 3D6E FEE8 FEE2 move.w [A6 - 0x11E], [A6 - 0x118]
0000048C 7E01 moveq.l D7, 0x01
0000048E 604A bra +0x4C /* 000004DA */
label00000490:
00000490 42A7 clr.l -[A7]
00000492 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00000498 3F07 move.w -[A7], D7
0000049A 4EAD 1B62 jsr [A5 + 0x1B62 /* export_872 */]
0000049E 265F movea.l A3, [A7]+
000004A0 200B move.l D0, A3
000004A2 6732 beq +0x34 /* 000004D6 */
000004A4 2F0B move.l -[A7], A3
000004A6 486E FFEE pea.l [A6 - 0x12]
000004AA 486E FFEA pea.l [A6 - 0x16]
000004AE 486E FEEA pea.l [A6 - 0x116]
000004B2 A9A8 syscall GetResInfo
000004B4 42A7 clr.l -[A7]
000004B6 302E FFEE move.w D0, [A6 - 0x12]
000004BA 48C0 ext.l D0
000004BC 2F00 move.l -[A7], D0
000004BE 302D F954 move.w D0, [A5 - 0x6AC]
000004C2 48C0 ext.l D0
000004C4 2F00 move.l -[A7], D0
000004C6 201F move.l D0, [A7]+
000004C8 2E9F move.l [A7], [A7]+
000004CA B097 cmp.l D0, [A7]
000004CC 6F02 ble +0x4 /* 000004D0 */
000004CE 2E80 move.l [A7], D0
label000004D0:
000004D0 201F move.l D0, [A7]+
000004D2 3B40 F954 move.w [A5 - 0x6AC], D0
label000004D6:
000004D6 5247 addq.w D7, 1
000004D8 6906 bvs +0x8 /* 000004E0 */
label000004DA:
000004DA BE6E FEE2 cmp.w D7, [A6 - 0x11E]
000004DE 6FB0 ble -0x4E /* 00000490 */
label000004E0:
000004E0 1F05 move.b -[A7], D5
000004E2 A99B syscall SetResLoad
000004E4 42A7 clr.l -[A7]
000004E6 302D F954 move.w D0, [A5 - 0x6AC]
000004EA E540 asl D0.w, 2
000004EC 48C0 ext.l D0
000004EE 2F00 move.l -[A7], D0
000004F0 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
000004F4 2B57 F958 move.l [A5 - 0x6A8], [A7]
000004F8 4EAD 193A jsr [A5 + 0x193A /* export_803 */]
000004FC 42A7 clr.l -[A7]
000004FE 302D F954 move.w D0, [A5 - 0x6AC]
00000502 48C0 ext.l D0
00000504 2F00 move.l -[A7], D0
00000506 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
0000050A 2B57 F918 move.l [A5 - 0x6E8], [A7]
0000050E 4EAD 193A jsr [A5 + 0x193A /* export_803 */]
00000512 42A7 clr.l -[A7]
00000514 302D F954 move.w D0, [A5 - 0x6AC]
00000518 48C0 ext.l D0
0000051A 2F00 move.l -[A7], D0
0000051C 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
00000520 2B57 F938 move.l [A5 - 0x6C8], [A7]
00000524 4EAD 193A jsr [A5 + 0x193A /* export_803 */]
00000528 42A7 clr.l -[A7]
0000052A 302D F954 move.w D0, [A5 - 0x6AC]
0000052E E540 asl D0.w, 2
00000530 48C0 ext.l D0
00000532 2F00 move.l -[A7], D0
00000534 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
00000538 2B57 F95C move.l [A5 - 0x6A4], [A7]
0000053C 4EAD 193A jsr [A5 + 0x193A /* export_803 */]
00000540 4267 clr.w -[A7]
00000542 1EB8 0A5E move.b [A7], [0x00000A5E /* ResLoad */]
00000546 1A1F move.b D5, [A7]+
00000548 4267 clr.w -[A7]
0000054A A99B syscall SetResLoad
0000054C 3D6D F954 FEE0 move.w [A6 - 0x120], [A5 - 0x6AC]
00000552 7E01 moveq.l D7, 0x01
00000554 600E bra +0x10 /* 00000564 */
label00000556:
00000556 206D F918 movea.l A0, [A5 - 0x6E8]
0000055A 2050 movea.l A0, [A0]
0000055C 4230 70FF clr.b [A0 + D7.w - 0x1]
00000560 5247 addq.w D7, 1
00000562 6906 bvs +0x8 /* 0000056A */
label00000564:
00000564 BE6E FEE0 cmp.w D7, [A6 - 0x120]
00000568 6FEC ble -0x12 /* 00000556 */
label0000056A:
0000056A 3D6D F954 FEDE move.w [A6 - 0x122], [A5 - 0x6AC]
00000570 7E01 moveq.l D7, 0x01
00000572 6072 bra +0x74 /* 000005E6 */
label00000574:
00000574 42A7 clr.l -[A7]
00000576 3F07 move.w -[A7], D7
00000578 4EAD 1B72 jsr [A5 + 0x1B72 /* export_874 */]
0000057C 265F movea.l A3, [A7]+
0000057E 206D F958 movea.l A0, [A5 - 0x6A8]
00000582 2050 movea.l A0, [A0]
00000584 3007 move.w D0, D7
00000586 E540 asl D0.w, 2
00000588 218B 00FC move.l [A0 + D0.w - 0x4], A3
0000058C 200B move.l D0, A3
0000058E 6738 beq +0x3A /* 000005C8 */
00000590 206D F95C movea.l A0, [A5 - 0x6A4]
00000594 2050 movea.l A0, [A0]
00000596 3007 move.w D0, D7
00000598 E540 asl D0.w, 2
0000059A 48E7 8080 movem.l -[A7], D0,A0
0000059E 42A7 clr.l -[A7]
000005A0 2F0B move.l -[A7], A3
000005A2 A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc
000005A4 221F move.l D1, [A7]+
000005A6 4CDF 0101 movem.l D0,A0, [A7]+
000005AA 2181 00FC move.l [A0 + D0.w - 0x4], D1
000005AE 206D F938 movea.l A0, [A5 - 0x6C8]
000005B2 2050 movea.l A0, [A0]
000005B4 2F08 move.l -[A7], A0
000005B6 4267 clr.w -[A7]
000005B8 2F0B move.l -[A7], A3
000005BA 4EAD 1A42 jsr [A5 + 0x1A42 /* export_836 */]
000005BE 101F move.b D0, [A7]+
000005C0 205F movea.l A0, [A7]+
000005C2 1180 70FF move.b [A0 + D7.w - 0x1], D0
000005C6 601A bra +0x1C /* 000005E2 */
label000005C8:
000005C8 206D F95C movea.l A0, [A5 - 0x6A4]
000005CC 2050 movea.l A0, [A0]
000005CE 3007 move.w D0, D7
000005D0 E540 asl D0.w, 2
000005D2 7200 moveq.l D1, 0x00
000005D4 2181 00FC move.l [A0 + D0.w - 0x4], D1
000005D8 206D F938 movea.l A0, [A5 - 0x6C8]
000005DC 2050 movea.l A0, [A0]
000005DE 4230 70FF clr.b [A0 + D7.w - 0x1]
label000005E2:
000005E2 5247 addq.w D7, 1
000005E4 6906 bvs +0x8 /* 000005EC */
label000005E6:
000005E6 BE6E FEDE cmp.w D7, [A6 - 0x122]
000005EA 6F88 ble -0x76 /* 00000574 */
label000005EC:
000005EC 1F05 move.b -[A7], D5
000005EE A99B syscall SetResLoad
000005F0 4267 clr.w -[A7]
000005F2 486D 00CA pea.l [A5 + 0xCA /* export_21 */]
000005F6 4EAD 1B9A jsr [A5 + 0x1B9A /* export_879 */]
000005FA 381F move.w D4, [A7]+
000005FC 206D F918 movea.l A0, [A5 - 0x6E8]
00000600 2050 movea.l A0, [A0]
00000602 11BC 0001 40FF move.b [A0 + D4.w - 0x1], 0x1
00000608 206D F938 movea.l A0, [A5 - 0x6C8]
0000060C 2050 movea.l A0, [A0]
0000060E 11BC 0001 40FF move.b [A0 + D4.w - 0x1], 0x1
00000614 4267 clr.w -[A7]
00000616 486D 1BE2 pea.l [A5 + 0x1BE2 /* export_888 */]
0000061A 4EAD 1B9A jsr [A5 + 0x1B9A /* export_879 */]
0000061E 3D5F FEE6 move.w [A6 - 0x11A], [A7]+
00000622 206D F918 movea.l A0, [A5 - 0x6E8]
00000626 2050 movea.l A0, [A0]
00000628 302E FEE6 move.w D0, [A6 - 0x11A]
0000062C 11BC 0001 00FF move.b [A0 + D0.w - 0x1], 0x1
00000632 206D F938 movea.l A0, [A5 - 0x6C8]
00000636 2050 movea.l A0, [A0]
00000638 302E FEE6 move.w D0, [A6 - 0x11A]
0000063C 11BC 0001 00FF move.b [A0 + D0.w - 0x1], 0x1
00000642 42A7 clr.l -[A7]
00000644 42A7 clr.l -[A7]
00000646 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
0000064A 2B57 F94C move.l [A5 - 0x6B4], [A7]
0000064E 4EAD 193A jsr [A5 + 0x193A /* export_803 */]
00000652 2F3C 4C44 4546 move.l -[A7], 0x4C444546 /* 'LDEF' */
00000658 2F2D F94C move.l -[A7], [A5 - 0x6B4]
0000065C 4EBA FC62 jsr [PC - 0x39E /* 000002C0 */]
00000660 2F3C 4344 4546 move.l -[A7], 0x43444546 /* 'CDEF' */
00000666 2F2D F94C move.l -[A7], [A5 - 0x6B4]
0000066A 4EBA FC54 jsr [PC - 0x3AC /* 000002C0 */]
0000066E 2F3C 4D44 4546 move.l -[A7], 0x4D444546 /* 'MDEF' */
00000674 2F2D F94C move.l -[A7], [A5 - 0x6B4]
00000678 4EBA FC46 jsr [PC - 0x3BA /* 000002C0 */]
0000067C 2F3C 5744 4546 move.l -[A7], 0x57444546 /* 'WDEF' */
00000682 2F2D F94C move.l -[A7], [A5 - 0x6B4]
00000686 4EBA FC38 jsr [PC - 0x3C8 /* 000002C0 */]
0000068A 2F3C 5041 434B move.l -[A7], 0x5041434B /* 'PACK' */
00000690 2F2D F94C move.l -[A7], [A5 - 0x6B4]
00000694 4EBA FC2A jsr [PC - 0x3D6 /* 000002C0 */]
00000698 206E 000C movea.l A0, [A6 + 0xC]
0000069C 7000 moveq.l D0, 0x00
0000069E 2080 move.l [A0], D0
000006A0 206E 0008 movea.l A0, [A6 + 0x8]
000006A4 7000 moveq.l D0, 0x00
000006A6 2080 move.l [A0], D0
000006A8 7000 moveq.l D0, 0x00
000006AA 2D40 FFF4 move.l [A6 - 0xC], D0
000006AE 4267 clr.w -[A7]
000006B0 2F3C 7365 6721 move.l -[A7], 0x73656721 /* 'seg!' */
000006B6 A99C syscall CountResources
000006B8 3D5F FEDC move.w [A6 - 0x124], [A7]+
000006BC 7E01 moveq.l D7, 0x01
000006BE 602A bra +0x2C /* 000006EA */
label000006C0:
000006C0 42A7 clr.l -[A7]
000006C2 2F3C 7365 6721 move.l -[A7], 0x73656721 /* 'seg!' */
000006C8 3F07 move.w -[A7], D7
000006CA A99D syscall GetIndResource
000006CC 2C1F move.l D6, [A7]+
000006CE 206E 000C movea.l A0, [A6 + 0xC]
000006D2 2F08 move.l -[A7], A0
000006D4 42A7 clr.l -[A7]
000006D6 2F06 move.l -[A7], D6
000006D8 4EBA FC9E jsr [PC - 0x362 /* 00000378 */]
000006DC 201F move.l D0, [A7]+
000006DE 205F movea.l A0, [A7]+
000006E0 D190 add.l [A0], D0
000006E2 2F06 move.l -[A7], D6
000006E4 A9A3 syscall ReleaseResource
000006E6 5247 addq.w D7, 1
000006E8 6906 bvs +0x8 /* 000006F0 */
label000006EA:
000006EA BE6E FEDC cmp.w D7, [A6 - 0x124]
000006EE 6FD0 ble -0x2E /* 000006C0 */
label000006F0:
000006F0 4267 clr.w -[A7]
000006F2 2F3C 6D65 6D21 move.l -[A7], 0x6D656D21 /* 'mem!' */
000006F8 A99C syscall CountResources
000006FA 3D5F FEDA move.w [A6 - 0x126], [A7]+
000006FE 7E01 moveq.l D7, 0x01
00000700 6034 bra +0x36 /* 00000736 */
label00000702:
00000702 42A7 clr.l -[A7]
00000704 2F3C 6D65 6D21 move.l -[A7], 0x6D656D21 /* 'mem!' */
0000070A 3F07 move.w -[A7], D7
0000070C A99D syscall GetIndResource
0000070E 2C1F move.l D6, [A7]+
00000710 2046 movea.l A0, D6
00000712 2850 movea.l A4, [A0]
00000714 206E 000C movea.l A0, [A6 + 0xC]
00000718 2014 move.l D0, [A4]
0000071A D190 add.l [A0], D0
0000071C 206E 0008 movea.l A0, [A6 + 0x8]
00000720 202C 0004 move.l D0, [A4 + 0x4]
00000724 D190 add.l [A0], D0
00000726 202C 0008 move.l D0, [A4 + 0x8]
0000072A D1AE FFF4 add.l [A6 - 0xC], D0
0000072E 2F06 move.l -[A7], D6
00000730 A9A3 syscall ReleaseResource
00000732 5247 addq.w D7, 1
00000734 6906 bvs +0x8 /* 0000073C */
label00000736:
00000736 BE6E FEDA cmp.w D7, [A6 - 0x126]
0000073A 6FC6 ble -0x38 /* 00000702 */
label0000073C:
0000073C 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000740 4EBA 001A jsr [PC + 0x1A /* 0000075C */]
00000744 A063 syscall MaxApplZone
00000746 7000 moveq.l D0, 0x00
00000748 2B40 F940 move.l [A5 - 0x6C0], D0
0000074C 2B40 F93C move.l [A5 - 0x6C4], D0
00000750 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
00000754 4E5E unlink A6
00000756 205F movea.l A0, [A7]+
00000758 504F addq.w A7, 8
0000075A 4ED0 jmp [A0]
fn0000075C:
0000075C 4E56 FFF8 link A6, -0x0008
00000760 2F07 move.l -[A7], D7
00000762 42A7 clr.l -[A7]
00000764 2EB8 0908 move.l [A7], [0x00000908 /* CurStackBase */]
00000768 2E1F move.l D7, [A7]+
0000076A 9EAE 0008 sub.l D7, [A6 + 0x8]
0000076E 42A7 clr.l -[A7]
00000770 2EB8 0130 move.l [A7], [0x00000130 /* ApplLimit */]
00000774 BE9F cmp.l D7, [A7]+
00000776 6C06 bge +0x8 /* 0000077E */
00000778 2F07 move.l -[A7], D7
0000077A 205F movea.l A0, [A7]+
0000077C A02D syscall SetApplLimit
label0000077E:
0000077E 2E1F move.l D7, [A7]+
00000780 4E5E unlink A6
00000782 2E9F move.l [A7], [A7]+
00000784 4E75 rts
00000786 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000788-0000078E
fn00000788:
00000788 4E56 0000 link A6, 0
0000078C 7000 moveq.l D0, 0x00
// end alternate branch 00000788-0000078E
fn00000788: // (misaligned)
0000078A 0000 7000 ori.b D0, 0x0
0000078E 2B40 F990 move.l [A5 - 0x670], D0
00000792 4E5E unlink A6
00000794 4E75 rts
00000796 0000 .incomplete